home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
util
/
cli
/
BinHex.readme
< prev
next >
Wrap
Text File
|
1996-12-07
|
4KB
|
95 lines
Short: Use favorite ASCII editor for HEX data V1.12
Author: stoecker@rcs.urz.tu-dresden.de (Dirk Stoecker)
Uploader: stoecker@rcs.urz.tu-dresden.de (Dirk Stoecker)
Version: 1.12
Type: util/cli
Kurz: Programm, um HEX-Daten mit ASCII Editor zu editieren
This program converts data (for example program code) into the hexadecimal
data system. This data could be edited with your favorite ASCII text
editor. After that you can convert the data back to their old style. So you
don't need a special hex editor and you will be able also to delete parts
of the file, insert parts and so on. Most hex editors allow only to change
given data.
Be sure that you know what you are doing! To insert some data into program
most time crashes the program, because the internal addresses are now
illegal. But the ability to delete data is useful for removing start code
from modules, pictures or text.
BinHex needs OS 37 (2.0) or later OS versions!
USAGE:
BinHex BIN/A,HEX/A,MAKEBIN/S,ONLYDATA/S,ROWS/N,ASMDATA/S
BIN give filename for original data file
HEX give filename for hexadecimal data
MAKEBIN set program to convert HEX to BIN (else BIN to HEX)
ONLYDATA add no ASCII output and no position info to hex data file
ROWS give number of rows in one line (1 row = 4 byte)
ASMDATA creates a field of ASM DC.L lines (not convertable back to bin).
CDATA creates a ULONG data[] = { ... } fiels (not convertable back).
The options ASMDATA and CDATA create an output useable in an assembler or
C compiler. There are always ULONG fields created, so it may be that the
last number is incorrect. Please edit this one by hand.
To make it impossible to overwrite binary data if not wanted use every time
one of the BIN or HEX keywords, but they aren't needed!. «BinHex A B» is
same as «BinHex A HEX B», but the second is saver.
hexadecimal data format:
In the hex file the data is only interpreted from begin of line to next
tabulator (\t, $09). If there is no tabulator in line it is done from
begin of line to next return (\n, $0A). All other parts and spaces are
ignored!
If there is a \ in the data part all following chars to the next
tabulator (or return) are not converted. They are taken like given (good
for inserting readable text).
example 1:
BIN data in RAM:A Hello World!
call BinHEX RAM:A HEX RAM:B ONLYDATA
HEX data in RAM:B 48656C6C6F20576F726C6421
example 2:
HEX data in RAM:B 4865 6C6c 6f20\World!
call BinHEX RAM:A HEX RAM:B MAKEBIN
BIN data in RAM:A Hello World!
Please report bugs, comments, suggestions, problems to me. If possible
write a little mail if you use the program sometimes. If there are some
enforcer hits or other problems report them as good as possible (I can't
start enforcer!).
Don't forget BinHex including source is Public Domain! I hope some more
programmers follow the PD/Freeware idea. Shareware is good, but why pay
for example 20$ for a very little utility?
Please contact me:
***************************************************************************
* snail-mail: Dirk Stoecker * e-mail: *
* Geschwister-Scholl-Str. 10 * stoecker@rcs.urz.tu-dresden.de *
* 01877 Bischofswerda * phone: *
* GERMANY * GERMANY 03594/706666 *
***************************************************************************
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
5172 2805 45.7% 21-Nov-96 19:22:04 BinHex
3459 1592 53.9% 21-Nov-96 19:22:04 BinHex.readme
8860 3153 64.4% 21-Nov-96 19:22:12 +BinHex.c
520 273 47.5% 21-Nov-96 19:23:10 +SDI_ASM_functions.o
928 413 55.4% 21-Nov-96 19:22:50 +SDI_ASM_protos.h
1728 630 63.5% 21-Nov-96 19:23:12 +SDI_ASM_STD_functions.o
3653 1182 67.6% 21-Nov-96 19:22:50 +SDI_ASM_STD_protos.h
4366 1805 58.6% 21-Nov-96 19:22:52 +SDI_defines.h
3952 1717 56.5% 21-Nov-96 19:23:12 +SDI_functions.o
3424 1423 58.4% 21-Nov-96 19:22:52 +SDI_protos.h
547 310 43.3% 21-Nov-96 19:22:52 +SDI_structures.h
-------- ------- ----- --------- --------
36609 15303 58.1% 25-Nov-96 20:30:42 11 files